﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace webapi.Model
{
    [Table("xyc_cart")]
    public class CartModel
    {
        [Key]
        public String GUID { get; set; }

        [Required]
        public String PRODUCT_INFO_GUID { get; set; }

        [Required]
        public String PRODUCT_ALL_GUID { get; set; }

        [Required]
        public String USER_GUID { get; set; }

        [Required]
        public int PRODUCT_ID { get; set; }


        [Required]
        public String QUANTITY { get; set; }

        [Required]
        public DateTime ADD_DATETIME { get; set; }

        public DateTime? DELETE_DATE { get; set; }
    }
}
